package com.labprog.oncapintada.exceptions;

import com.labprog.oncapintada.models.Classe;

public class ClasseVaziaException extends Exception{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Classe classe;

	public ClasseVaziaException(Classe classe) {
		super();
		this.classe = classe;
	}
	
	public void printStackTrace() {
		System.out.println("ClasseVaziaException");
		System.out.println("Classe - id:" + classe.getId());
		super.printStackTrace();
	}
}
